package service;

import entity.User;

import java.util.List;

public interface UserService {
    public List<User> findAll();
    public List<User> findUserByName(String userName);
    public User findUserById(int id);
    public void addUser(User user);
    public void updateUser(User user);
    public void deleteUser(int id);
    public User login(String username,String password);


}
